package com.springboot.cms.blogroll.domain;

import com.springboot.common.annotation.Excel;
import com.springboot.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 友情链接对象 cms_blogroll
 *
 * @author lhxz
 * @date 2024-07-01
 */
public class CmsBlogroll extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 站点名称 */
    @Excel(name = "站点名称")
    private String siteName;

    /** 站点链接 */
    @Excel(name = "站点链接")
    private String siteLink;

    /** 站点图标 */
    @Excel(name = "站点图标")
    private String siteLogo;

    /** 站点描述 */
    @Excel(name = "站点描述")
    private String siteDescribe;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSiteName(String siteName)
    {
        this.siteName = siteName;
    }

    public String getSiteName()
    {
        return siteName;
    }
    public void setSiteLink(String siteLink)
    {
        this.siteLink = siteLink;
    }

    public String getSiteLink()
    {
        return siteLink;
    }
    public void setSiteLogo(String siteLogo)
    {
        this.siteLogo = siteLogo;
    }

    public String getSiteLogo()
    {
        return siteLogo;
    }
    public void setSiteDescribe(String siteDescribe)
    {
        this.siteDescribe = siteDescribe;
    }

    public String getSiteDescribe()
    {
        return siteDescribe;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("siteName", getSiteName())
                .append("siteLink", getSiteLink())
                .append("siteLogo", getSiteLogo())
                .append("siteDescribe", getSiteDescribe())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
